package com.example.module_home.model.api

import com.example.lib_net.entity.ResponseEntity
import com.example.module_home.model.entity.SimpleVideoEntity

import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @author ytx
 * @createDate 2022/4/24 10:44
 * @description
 *
 * @updateUser ytx
 * @updateDate 2022/4/24 10:44
 * @updateRemark
 *
 * @version 1.0.0
 */
interface VideoApi {

    /**
     * 获取推荐信息接口
     */
    @GET("/videosimple/getRecommendSimpleVideo")
    suspend fun getRecommendSimpleVideo(@Query("page") page:Int,@Query("pagesize") pagesize:Int): ResponseEntity<List<SimpleVideoEntity>>

    /**
     * 获取视频信息接口
     */
    @GET("/videosimple/getSimpleVideoByChannelId")
    suspend fun getSimpleVideoByChannelId(@Query("channelId") channelId:String,@Query("page") page:Int,@Query("pagesize") pagesize:Int):ResponseEntity<List<SimpleVideoEntity>>

}